package top.zhouze.common.base;


import lombok.Data;

@Data
public class ResultBean<T> {
    private int code ;
    private String msg ;
    private T data;

    public ResultBean() {
    }

    public ResultBean(int code, String msg,T data){
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public ResultBean(int code, String msg){
        this(code,msg,null);
    }
}
